home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacHack 2000
/
MacHack 2000.toast
/
pc
/
The Hacks
/
Softshoe
/
Lisa's Mac Parts
/
Windows
/
WindowUpdater.h
< prev
Wrap
Text File
|
2000-06-23
|
390b
|
29 lines
// WindowUpdater.h
#ifndef WindowUpdater_h
#define WindowUpdater_h
#ifndef WindowObject_h
#include "WindowObject.h"
#endif
class WindowUpdater
{
private:
WindowObject& window;
public:
WindowUpdater( WindowObject& theWindow )
: window( theWindow )
{
BeginUpdate( &window.Port() );
}
~WindowUpdater()
{
EndUpdate( &window.Port() );
}
};
#endif